@layout('base')

@section('submenu')
<ul class="submenu">
@if(URI::is('mail/domain(/*)?'))
<li>{{ HTML::link_to_action('mail.domain@index', 'domains', array(), array('class' => 'active')) }}</li>
@else
<li>{{ HTML::link_to_action('mail.domain@index', 'domains') }}</li>
@endif
@if(URI::is('mail/alias(/*)?'))
<li>{{ HTML::link_to_action('mail.alias@index', 'aliases', array(), array('class' => 'active')) }}</li>
@else
<li>{{ HTML::link_to_action('mail.alias@index', 'aliases') }}</li>
@endif
@if(URI::is('mail/account(/*)?'))
<li>{{ HTML::link_to_action('mail.account@index', 'accounts', array(), array('class' => 'active')) }}</li>
@else
<li>{{ HTML::link_to_action('mail.account@index', 'accounts') }}</li>
@endif
</ul>
@endsection
